package com.kpmg.datalake.db.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.kpmg.datalake.db.model.RqsAccbook;

/**
 * 请求账簿表 RQS_ACCBOOK Mapper
 * @author Tony
 */
public interface RqsAccbookMapper {
	
	/**
	 * 检查请求账簿是否已存在
	 * @param requestNo
	 * @param bookIds
	 * @return
	 */
	List<String> checkRqsAccbook(@Param("rqsListId")String requestNo);
	
	RqsAccbook selectByPrimaryKey(String accbookId);
	
	List<RqsAccbook> selectByRqsListId(String rqsListId);
	
	int deleteByPrimaryKey(String accbookId);
	
	int insertSelective(RqsAccbook record);

	int updateByPrimaryKeySelective(RqsAccbook record);

}